<template>
	<view class="add_con">
		<view class="top_con">
			<view class="title">创建病历档案</view>
			<view class="remark">
				<image src="/static/images/title_icon.png"></image>
				档案信息严格保密，仅您自己可见</view>
		</view>
		<view class="userInfo_con">
			<view class="guid">
				<view class="left">
					<span>*</span>姓名
				</view>
				<view class="input">
					<u-input border="surround"	type="number" v-model="form.name"	:border="false"></u-input>
				</view>
			</view>
			<view class="guid">
				<view class="left">
					<span>*</span>身份证号
				</view>
				<view class="input">
					<u-input border="surround"	type="number" v-model="form.card" :border="false"></u-input>
				</view>
			</view>
			<view class="guid">
				<view class="left">
					<span>*</span>性别
				</view>
				<view class="input">
					<u-input disabled border="surround"	type="number" v-model="form.sex" :border="false"></u-input>
				</view>
			</view>
			<view class="guid noGuidBorder">
				<view class="left">
					<span>*</span>出生日期
				</view>
				<view class="input">
					<u-input disabled border="surround"	type="number" v-model="form.birth" :border="false"></u-input>
				</view>
			</view>
		</view>
		<view class="set">
			<view class="left">设置本人档案</view>
			<u-switch v-model="form.checked" active-color="#7D2527"></u-switch>
		</view>
		<view class="btn_con">
			<span>确定</span>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return {
				form:{
					checked: true,
				}
			}
		},
		methods: {
					change(status) {
						console.log(status);
					},
				}
	}
</script>

<style lang="scss" scoped>
	.add_con{
		width:100%;
		height:100%;
		background: #F8F8F8;
		padding: 22rpx 29rpx;
		font-family: PingFang SC, PingFang SC;
		.top_con{
			margin-bottom: 30rpx;
			padding: 10rpx 0;
			.title{
				font-weight: 600;
				font-size: 32rpx;
				color: #000000;
				margin-bottom: 9rpx;
			}
			.remark{
				display: flex;
				align-items: center;
				font-weight: 400;
				font-size: 26rpx;
				color: #999999;
				image{
					width:26rpx;
					height:31rpx;
					margin-right: 12rpx;
				}
				
			}
		}
		.userInfo_con{
			background: #FFFFFF;
			border-radius: 6rpx;
			margin-bottom: 19rpx;
			padding: 25rpx 31rpx;
			.guid{
				padding: 20rpx 0;
				border-bottom: 1rpx solid #E4E4E4;
				display: flex;
				align-items: center;
				.left{
					display: flex;
					font-weight: 400;
					font-size: 30rpx;
					color: #000000;
					width:200rpx;
					span{
						color:#7D2527;
					}
				}
				.input{
					flex: 1;
				}
			}
			.noGuidBorder{
				border:none;
			}
		}
		.set{
			background: #FFFFFF;
			border-radius: 6rpx;
			padding: 25rpx 31rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			font-weight: 400;
			font-size: 30rpx;
			color: #000000;
		}
		.btn_con{
			position: fixed;
			bottom: 40rpx;
			padding: 0 29rpx;
			width:100%;
			left: 0;
			span{
				display: inline-block;
				width:100%;
				background: #7D2527;
				border-radius: 50rpx;
				height:80rpx;
				line-height: 80rpx;
				text-align: center;
				font-size: 32rpx;
				color:#fff;
			}
		}
	}
</style>